package com.runshu.newsmartark.mvp.contract;

import com.runshu.newsmartark.network.netbean.ResponseBean;
import com.runshu.newsmartark.network.netinterface.BaseCallBack;

import java.util.List;

/**
 * Demo class
 *
 * @author yu
 * @date 2020/10/28
 * @decs：
 */

public interface ConfirmStockContract {
    interface Model {
        void getConfirmStock(String macAddress, String userCode, List<String> refIds, String type, BaseCallBack baseCallBack);

        void getGoodsBySerno(List<String> refIds, BaseCallBack baseCallBack);

        void checkInventory(String customerId, String hospitalId, String hwMac, List<String> rfidsList, int afreshType,BaseCallBack baseCallBack);
    }

    interface View {
        void OnGetConfirmStockSuccess(ResponseBean responseBean);

        void onError(String msg);

        void onGetGoodsBySerno(ResponseBean responseBean);

        void onCheckInventorySuccess(ResponseBean responseBean);

    }

    interface Presenter {
        void getConfirmStock(String macAddress, String userCode, List<String> refIds, String type);

        void getGoodsBySerno(List<String> refIds);

        void checkInventory(String customerId, String hospitalId, String hwMac, List<String> rfidsList, int afreshType);

    }
}
